package com.DHH.Entity.Order;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.hibernate.validator.constraints.Length;
import java.io.Serializable;
import java.sql.Timestamp;
import java.util.Date;
import java.util.Set;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 实体类OrderInfoState
 * 数据表order_tb_info_state
 * 订单状态
 * 2017-8-3 12:33:07
 * @author Administrator
 *
 */
@Table(name = "order_tb_info_state")
public class OrderInfoState  implements Serializable {

	//
	@Id
	@GeneratedValue(generator = "JDBC")
	private Integer id;
	//
	@Length(max = 10, min = 0, message = "长度为0-10个字符")
	private String sname;
	//
	@Length(max = 255, min = 0, message = "长度为0-255个字符")
	private String mark;


	public OrderInfoState(){

	}

	public void setId(Integer id){
		this.id=id;
	}

	public Integer getId(){
		return this.id;
	}
	public void setSname(String sname){
		this.sname=sname;
	}

	public String getSname(){
		return this.sname;
	}
	public void setMark(String mark){
		this.mark=mark;
	}

	public String getMark(){
		return this.mark;
	}


}
